home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / RIncludes / DatabaseAccess.r < prev    next >
Encoding:
Text File  |  1997-08-12  |  1.6 KB  |  69 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        DatabaseAccess.r
  3.  
  4.      Contains:    Database Access Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1989-1993, 1995-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18.  
  19. #ifndef __DATABASEACCESS_R__
  20. #define __DATABASEACCESS_R__
  21.  
  22. #ifndef __CONDITIONALMACROS_R__
  23. #include "ConditionalMacros.r"
  24. #endif
  25.  
  26.  
  27. /* types for the Database Access Manager */
  28.  
  29. /* 'wstr' - Word Length String Resource */
  30. type 'wstr' {
  31.         wstring;                                                /* string with word length spec. */
  32. };
  33.  
  34. /* 'qrsc' - Query Resource */
  35. type 'qrsc' {
  36.         integer;                                                /* version */
  37.  
  38.         integer;                                                /* 'qdef' ID */
  39.  
  40.         integer;                                                /* STR# ID for ddevName, host,
  41.                                                                        user, password, connstr */
  42.  
  43.         integer;                                                /* current query */
  44.  
  45.         /* array of IDs of 'wstr' resources containing queries */
  46.         integer = $$CountOf(QueryArray);                        /* array size */
  47.         wide array QueryArray {
  48.             integer;                                            /* id of 'wstr' resource */
  49.         };
  50.  
  51.         /* array of types and IDs for other resources for query */
  52.         integer = $$CountOf(ResArray);                            /* array size */
  53.         wide array ResArray {
  54.             literal longint;                                    /* resource type */
  55.             integer;                                            /* resource ID */
  56.         };
  57. };
  58.  
  59. /* 'dflg' - ddev Flags */
  60. type 'dflg' {
  61.         longint;                                                /* version */
  62.  
  63.         unsigned bitstring[32]                                    /* ddev flags */
  64.             asyncNotSupp, asyncSupp;
  65. };
  66.  
  67. #endif /* __DATABASEACCESS_R__ */
  68.  
  69.